-- GENERATED SPELL FOR [Forward Commander To'arch] --


function spell0_19273(pUnit, Event) --@Set Rails Flag,n/a--
pUnit:FullCastSpellOnTarget(35998,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19273', 548, 1)
end

function Sorts_19273(pUnit, Event)
local choix_sorts_19273 = math.random(0, 0)
if choix_sorts_19273 == 0 then
pUnit:RegisterEvent('spell0_19273', 1, 1)
end
end

function mob19273_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19273', math.random(1500, 3000), 1)
end

function mob19273_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19273_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19273_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19273, 1, 'mob19273_Action')
RegisterUnitEvent(19273, 2, 'mob19273_Leave')
RegisterUnitEvent(19273, 3, 'mob19273_Kill')
RegisterUnitEvent(19273, 4, 'mob19273_Die')
